package com.soboot.base.model;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author:
 * @createTime: 2022年09月21日 10:54:35
 * @version:
 * @Description: 通用idmodel
 * @Copyright:
 */
@Data
@SuperBuilder
//@ApiModel(value = "BaseIdModel",description = "通用id")
public class BaseIdModel extends BaseExtEntity{

    @NotNull
    @Min(1)
    //@ApiModelProperty(value = "id", dataType = "int")
    private Integer id;

}
